# Auther:haijing
# 时间:1011-week4
user_data_vip = ["haijing"]
password_data_vip = "159501"
user_data = ["vincci"]
password_data = "003003"
count = 3
while True:
    count -= 1

    username = input("请输入您的账号：")
    password = input("请输入您的密码：")
    if username in user_data_vip:
        if password == password_data_vip:

            print("欢迎我们尊贵的会员登录系统使用~")
            count = 10
            while True:
                if count == 0:
                    print("尊贵的会员，今日次数已经没了哦~请明天再来吧~")
                    break
                else:
                    count -= 1
                    print("尊贵的会员，您还有", count, "次查询机会")

                import datetime

                time = datetime.date.today().weekday()
                one_weekingday = int(time)
                print(one_weekingday)
                if one_weekingday == 0:
                    print("周一")
                    print("没课好好休息")
                elif one_weekingday == 1:
                    print("周二")
                    print("08:00-09:45 网球 西区网球场")
                    print("10:45-12:00 大学英语 10-305")
                    print("14:30-15:55 h5互动技术 3实308")
                    print("18:45-20:10 摄影赏析 2-106")
                    print("20:15-21:45 非遗赏析 4-206")
                elif one_weekingday == 2:
                    print("周三")
                    print("10:35-12:00 毛概理论 7-402")
                    print("18:45-20:55 毛概实践 7-402")
                elif one_weekingday == 3:
                    print("周四")
                    print("09:45-12:00 Python 新综612")
                    print("14:30-15:55 广告文案 1-303")
                    print("16:10-17:10 大学英语 10-305")
                elif one_weekingday == 4:
                    print("周五")
                    print("1-2 lllustrator 阚凤霞")
                else:
                    print("放假休息")

    if username in user_data:
        if password == password_data:

            print("欢迎登录系统使用~")
            count = 5
            while True:
                if count == 0:
                    print("你今日有五次查看课表机会，如需更多查看机会，请开通会员")
                    break
                else:
                    count -= 1
                    print("您还有", count, "次查询机会")

                import datetime

                time = datetime.date.today().weekday()
                one_weekingday = int(time)
                print(one_weekingday)
                if one_weekingday == 0:
                    print("周一")
                    print("没课好好休息")
                elif one_weekingday == 1:
                    print("周二")
                    print("08:00-09:45 网球 西区网球场")
                    print("10:45-12:00 大学英语 10-305")
                    print("14:30-15:55 h5互动技术 3实308")
                    print("18:45-20:10 摄影赏析 2-106")
                    print("20:15-21:45 非遗赏析 4-206")
                elif one_weekingday == 2:
                    print("周三")
                    print("10:35-12:00 毛概理论 7-402")
                    print("18:45-20:55 毛概实践 7-402")
                elif one_weekingday == 3:
                    print("周四")
                    print("09:45-12:00 Python 新综612")
                    print("14:30-15:55 广告文案 1-303")
                    print("16:10-17:10 大学英语 10-305")
                elif one_weekingday == 4:
                    print("周五")
                    print("1-2 lllustrator 阚凤霞")
                else:
                    print("放假休息")

    else:
        if count == 0:
            print("先想想再来")
            break
        else:
            print("您输入的账号或密码不正确，请重新输入,您还有", count, "次机会")